Tcl-based GUI toolkit.
tk-8.0.4: description + notes
Because Tcl/Tk changed so much between version 4 and version 8, installing this package does not automatically remove the earlier
fw_tk
package. If you no longer need the older version you should remove it from your system.The Tk
send
command requires xauth X server authentication for its interprocess communication. Otherwise, there would be a serious security hole, allowing any host to run arbitrary scripts in any Tk window it can find. (Any host -- not just those allowed by xhost -- ever hear of IP packet spoofing?)To enable xauth-style security, edit as root the file
/var/X11/xdm/xdm-config
, and change theauthorize
setting toon
, andauthComplain
toTrue
, then reboot. With xauth on, you'll notice a few differences:
- Most local apps will run with no further changes.
- Some local apps that run as root (swmgr, e.g.) will require you to do '
xhost +localhost
' first.- To run apps on another system, but displaying back to yours, you will either need to xhost that system, or (preferred) copy authority info to the remote system first using the xauth command. See the xauth man page, with the following caveat: in the example given, it does an '
xauth extract - $DISPLAY
' . Usually, you will want to make sure that the hostname is explicitly declared, rather than just using $DISPLAY. So, for example, foo:0 not :0.If you are constitutionally unable to use xauth, you can disable these security checks by installing
fw_tk80.sw.lib-insecure
rather thanfw_tk80.sw.lib
.The "normal" installation is setup for
-n32
ABI. If you want to use the-o32
or-64
you may need to modifytkConfig.sh
andtclConfig.sh
.
To auto-install this package, go back and click on the respective install icon.